<layout name='Layout/layout_page' />
    <ol class="breadcrumb">
        <li><a href="<{:U('Order/index')}>">Orders</a></li>
        <li class="active">Detail</li>
    </ol>
    
    <form id="ajaxForm" action="<{:U('Order/update')}>" method="post" class="form-horizontal form-validata">
    <div class="form-group">
            <label class="col-md-2 control-label" for="from">Order Number</label>
            <div class="col-md-10">
                <div class="form-control-static"><{$list['order_no']}></div>
            </div>
        </div> 

        <div class="form-group">
            <label class="col-md-2 control-label" for="from">Service</label>
            <div class="col-md-10">
                <volist name="shop" id="vo">
                <div class="form-control-static">Name:<{$vo.pname}> Price:$<{$vo.price}></div>
                </volist>
            </div>
        </div> 

        <div class="form-group">
            <label class="col-md-2 control-label" for="from">Amount</label>
            <div class="col-md-10">
                <div class="form-control-static"><font color="red"><strong>$<{$list['money']}></strong></font></div>
            </div>
        </div> 

        <div class="form-group">
            <label class="col-md-2 control-label" for="from">Name</label>
            <div class="col-md-10">
                <div class="form-control-static"><{$list['firstName']}><{$list['lastName']}>，<{$list['phone']}></div>
            </div>
        </div> 

        <div class="form-group">
            <label class="col-md-2 control-label" for="from">Address</label>
            <div class="col-md-10">
                <div class="form-control-static"><{$list['address']}><br/><{$list['address2']}></div>
            </div>
        </div> 

        <div class="form-group">
            <label class="col-md-2 control-label" for="from">City</label>
            <div class="col-md-10">
                <div class="form-control-static"><{$list['city']}> / <{$list.state}> / <{$list.zip}></div>
            </div>
        </div>         

        <div class="form-group">
            <label class="col-md-2 control-label" for="from">Status</label>
            <div class="col-md-10">
                <div class="form-control-static"><eq name="list.payStatus" value="0"><font color="red">Not paid</font><else/><font color="green">Already paid</font></eq></div>
            </div>
        </div> 

        <div class="form-group">
            <label class="col-md-2 control-label" for="from">Treated</label>
            <div class="col-md-10">
                <label class="checkbox-inline">
          <input type="checkbox" name="status" id="status" value="1" <php>if($list['status']==='1')echo checked;</php>> Yes
        </label>
            </div>
        </div> 

        <div class="form-group">
            <label class="col-md-2 control-label" for="from">Remark</label>
            <div class="col-md-10">
                <textarea name="remark" class="form-control areatext"><{$list['remark']}></textarea>
            </div>
        </div> 

    <div class="form-group">
      <div class="col-md-10 col-sm-offset-2">
        <button type="submit" class="btn btn-info"><{:L(_public_edit)}></button>
      </div>
    </div>
    <input type="hidden" name="id" value="<{$list['id']}>" />
  </form>

<input type="hidden" id="menu_action" value="goods" />